home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-06-30 | 454 b | 28 lines |
- #
- # Makefile for creating a program to strip out amigaguide control statements
- #
- #
-
- PRG = stripguide
-
- CC = sc
- CFLAGS = NOSTACKCHECK MEMSIZE=MEDIUM VERBOSE SMALLCODE SMALLDATA PARMS=REGS NOICONS
-
- LEX = flex
- LFLAGS = -8
-
- RM = Delete QUIET
- MV = Rename
- CP = Copy QUIET
-
- $(PRG): $(PRG).c
- $(CC) $(CFLAGS) LINK $< TO $@
-
- $(PRG).c: $(PRG).l
- $(LEX) $(LFLAGS) $<
- $(CP) lex.yy.c $(PRG).c
- $(RM) lex.yy.c
-
- clean:
- $(RM) $(PRG).c $(PRG).o $(PRG) $(PRG).lnk
-